package domain;

import com.alibaba.fastjson.JSONObject;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

/**
 * @author Administrator
 * @ClassName DEMO
 * @description: TODO
 * @date 2024年05月13日
 * @version: 1.0
 */
public class DEMO1 {
    public static void main(String[] args) {


        int index = 0;
        JSONObject jsonObject = new JSONObject();
        Map<String, Object> map = new HashMap<>();
        BufferedReader readerDataFile=null;
        String line="";
        try {
            Map<String,String> mapData = new HashMap<>();
             readerDataFile = new BufferedReader(new FileReader("C:/DATA111.csv"));
            while ((line = readerDataFile.readLine()) != null) {
                String []userArr=line.split(",");
               System.out.println("'"+userArr[0]+"',");
            }



        } catch (IOException e) {
            throw new RuntimeException(e);
        }finally {
            try {
                readerDataFile.close();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }


    }
}
